﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace kongjian35
{
    [Designer(typeof(TongJi_EMS._TJ_Basic.TJ_BasicControlDesigner))]
    public partial class bileiqi10kv : TongJi_EMS._TJ_Basic.TJ_BasicControl
    {
        public bileiqi10kv()
        {
            InitializeComponent();
        }
        private void bileiqi10kv_Paint(object sender, PaintEventArgs e)
        {

            Pen a = new Pen(CtrColor, 1);
            e.Graphics.DrawRectangle(a, x * 0.7f, y * 0.6f, x * 0.6f, y * 0.8f);
            e.Graphics.DrawLine(a, x, y * 0.4f, x, y * 1f);
            e.Graphics.DrawLine(a, x, 0, x, y * 1f);
            e.Graphics.DrawLine(a, x * 0.6f, y * 1.7f, x * 1.4f, y * 1.7f);
            e.Graphics.DrawLine(a, x * 0.7f, y * 1.8f, x * 1.3f, y * 1.8f);
            e.Graphics.DrawLine(a, x * 0.8f, y * 1.9f, x * 1.2f, y * 1.9f);
            e.Graphics.DrawLine(a, x, y * 1.4f, x, y * 1.7f);
            e.Graphics.DrawLine(a, x, y, x * 0.8f, y * 0.9f);
            e.Graphics.DrawLine(a, x, y, x * 1.2f, y * 0.9f);
        }

        private void bileiqi10kv_Resize(object sender, EventArgs e)
        {
            this.x = this.Width / 2;
            this.y = this.Height / 2;
            //this.Refresh();

        }

        private void bileiqiLoad(object sender, EventArgs e)
        {
            bileiqi10kv_Resize(sender, e);
        }


    }
}